CKS: fix creation on shared network if HA is enabled#8588
CKS: fix creation on shared network if HA is enabled#8588JoaoJandre merged 1 commit intoapache:4.18from
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #8588 +/- ##
============================================
- Coverage 13.16% 13.16% -0.01%
+ Complexity 9203 9201 -2
============================================
Files 2724 2724
Lines 258087 258087
Branches 40223 40223
============================================
- Hits 33987 33984 -3
- Misses 219793 219797 +4
+ Partials 4307 4306 -1 ☔ View full report in Codecov by Sentry. |
|
@weizhouapache is this still valid? |
@DaanHoogland |
|
@blueorangutan package |
|
@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11178 |
kiranchavala
left a comment
There was a problem hiding this comment.
@weizhouapache , i am getting the following exception when I provide a external loadbalancer IP during cks cluster creation in a shared network
because 10.0.0.96.6 is not valid address |
My bad should check my eye sight :-) |
|
@kiranchavala it does not work in advanced zone with security groups. |
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM
Tested using nginx configuration as Loadbalancer
Able to deploy a cks cluster on a shared network with HA option enabled
sample nginx config
[root@centos7 ~]# cat nginx.conf
error_log stderr notice;
worker_processes auto;
events {
multi_accept on;
use epoll;
worker_connections 1024;
}
stream {
upstream cloudstack {
server 10.1.17.89:6443;
server 10.1.17.90:6443 backup;
server 10.1.17.86:6443 backup;
}
server {
listen 0.0.0.0:6443;
proxy_pass cloudstack;
proxy_timeout 10m;
proxy_connect_timeout 1s;
}
upstream control-1 {
server 10.1.17.89:22;
}
server {
listen 0.0.0.0:2222;
proxy_pass control-1;
proxy_timeout 10m;
proxy_connect_timeout 1s;
}
upstream control-2 {
server 10.1.17.90:22;
}
server {
listen 0.0.0.0:2223;
proxy_pass control-2;
proxy_timeout 10m;
proxy_connect_timeout 1s;
}
upstream control-3 {
server 10.1.17.86:22;
}
server {
listen 0.0.0.0:2224;
proxy_pass control-3;
proxy_timeout 10m;
proxy_connect_timeout 1s;
}
}
if there is no external IP is given exception is thrown
|
great, thanks for the testing @kiranchavala |
|
@blueorangutan package |
|
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11202 |
|
@blueorangutan test securityGroups |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11549)
|
|
Merging based on reviews, manual testing (#8588 (review)) and CI results, the failures shown in CI are not related to this PR |
* 4.18: CKS: fix creation on shared network if HA is enabled (#8588)
|
[SF] Trillian test result (tid-11548)
|
* 4.18: CKS: fix creation on shared network if HA is enabled (apache#8588)



Description
This PR fixes #8585
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?